package com.pengshun.modules.api.user.service.dto;

import cn.hutool.core.date.DateTime;
import com.pengshun.modules.api.coal.validator.First;
import com.pengshun.modules.api.coal.validator.Second;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class UserBankDto {

    //主键id
    @NotNull(message = "id不能为空", groups = {First.class})
    private Long userBankId;

    //用户id
    private Long userId;

    //用户名称
    @NotNull(message = "用户名称不能为空", groups = {Second.class})
    private String userName;
    private String idcard;

    //用户银行卡号
    @NotNull(message = "用户银行卡号不能为空", groups = {Second.class})
    private String bankCardNo;
    @NotNull(message = "isSelf不能为空", groups = {Second.class})
    private String isSelf;

    //银行名称
    private String bankName;

    //状态(1.正常  2.删除)
    private int status;
    private String typeName;
    private String bankSmallIcon;
    private String bankBigIcon;
    private String backColor;
    private Integer systemBankId;
    //创建时间
    private Date createTime;

}
